package com.wxy.ideaplugin.action;

import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.command.WriteCommandAction;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.project.Project;
import com.intellij.psi.*;
import com.intellij.psi.util.PsiTreeUtil;
import com.intellij.psi.xml.XmlFile;
import com.intellij.psi.xml.XmlTag;
import com.intellij.ui.CollectionListModel;
import com.wxy.ideaplugin.ui.FieldUi;

import javax.swing.*;
import java.util.List;

public class RightMenuAction extends AnAction {

    @Override
    public void actionPerformed(AnActionEvent e) {
        FieldUi dialog = new FieldUi(e);
        dialog.pack();
        dialog.setSize(400, 400);
        dialog.setVisible(true);
        //System.exit(0);
    }

}
